export default {
    methods: {
        /**
         * 开始流程
         * @param params
         * @param callback
         */
        startProcess(params, callback) {
            this.$http.get("/bpm/bpm/process/startProcess", {params})
                .then(res => {
                    callback(res.data)
                })
                .catch(err => {
                    console.error(err)
                    this.$tip.success("开始流程失败")
                })
        }
    }
}
